/*
 *  Instructions.cpp
 *  vorpal
 *
 *  Created by rwebb on 25/04/08.
 *
 */

#include "Instructions.h"
#include "Messages.h"

namespace Vorpal{

void AssertInstructionSanity(){
	loop(i, 0, NumOpcodes){
		Assert(instructions[i].opcode == i);
	}
	Assert(msg_print == msg("print"));  // make sure strings are hashing correctly (might be a function on endianness)
	Assert(kCellSize == sizeof(Cell));
}

}
